package com.zhuchaooasystem.presenter.home.fragment;

import com.zhuchaooasystem.base.IPresenter;
import com.zhuchaooasystem.base.IView;
import com.zhuchaooasystem.entity.OrderStateEntity;
import com.zhuchaooasystem.entity.ServiceEntity;

/**
 * @author yinsi
 */


public interface ServiceContract {

    interface View extends IView {
        //显示第一页的数据 下拉刷新的数据
        void showData(ServiceEntity entity);

        //上拉加载更多的数据
        void showMoreData(ServiceEntity entity);

        //订单状态
        void showOrderState(OrderStateEntity entity);
    }

    interface Presenter extends IPresenter {
        //加载正常数据
//         void downServiceData(int page,String isOnWeek);
        //带服务状态的数据
        void downServiceStateData(int page, String isOnWeek, String code);

        //获取服务状态
        void downOrderState();
    }
}
